package com.liveneo.adapter.base.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 案件改派轨迹表 条件工具类
 * 
 * @author fucy
 * @since 2016-06-05
 */
public class PrpmLossReassignExample {
    protected String         orderByClause;
    protected boolean        distinct;
    protected List<Criteria> oredCriteria;

    public PrpmLossReassignExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 案件改派轨迹表
     * 数据库表：prpm_loss_reassign
     * 
     * @author fucy
     * @since 2016-06-05
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNull() {
            addCriterion("CaseUuid is null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNotNull() {
            addCriterion("CaseUuid is not null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidEqualTo(String value) {
            addCriterion("CaseUuid =", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotEqualTo(String value) {
            addCriterion("CaseUuid <>", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThan(String value) {
            addCriterion("CaseUuid >", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThanOrEqualTo(String value) {
            addCriterion("CaseUuid >=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThan(String value) {
            addCriterion("CaseUuid <", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThanOrEqualTo(String value) {
            addCriterion("CaseUuid <=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLike(String value) {
            addCriterion("CaseUuid like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotLike(String value) {
            addCriterion("CaseUuid not like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIn(List<String> values) {
            addCriterion("CaseUuid in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotIn(List<String> values) {
            addCriterion("CaseUuid not in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidBetween(String value1, String value2) {
            addCriterion("CaseUuid between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotBetween(String value1, String value2) {
            addCriterion("CaseUuid not between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNull() {
            addCriterion("CaseNo is null");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNotNull() {
            addCriterion("CaseNo is not null");
            return (Criteria) this;
        }

        public Criteria andCaseNoEqualTo(String value) {
            addCriterion("CaseNo =", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotEqualTo(String value) {
            addCriterion("CaseNo <>", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThan(String value) {
            addCriterion("CaseNo >", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThanOrEqualTo(String value) {
            addCriterion("CaseNo >=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThan(String value) {
            addCriterion("CaseNo <", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThanOrEqualTo(String value) {
            addCriterion("CaseNo <=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLike(String value) {
            addCriterion("CaseNo like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotLike(String value) {
            addCriterion("CaseNo not like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoIn(List<String> values) {
            addCriterion("CaseNo in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotIn(List<String> values) {
            addCriterion("CaseNo not in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoBetween(String value1, String value2) {
            addCriterion("CaseNo between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotBetween(String value1, String value2) {
            addCriterion("CaseNo not between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andLossUuidIsNull() {
            addCriterion("LossUuid is null");
            return (Criteria) this;
        }

        public Criteria andLossUuidIsNotNull() {
            addCriterion("LossUuid is not null");
            return (Criteria) this;
        }

        public Criteria andLossUuidEqualTo(String value) {
            addCriterion("LossUuid =", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotEqualTo(String value) {
            addCriterion("LossUuid <>", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidGreaterThan(String value) {
            addCriterion("LossUuid >", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidGreaterThanOrEqualTo(String value) {
            addCriterion("LossUuid >=", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLessThan(String value) {
            addCriterion("LossUuid <", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLessThanOrEqualTo(String value) {
            addCriterion("LossUuid <=", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLike(String value) {
            addCriterion("LossUuid like", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotLike(String value) {
            addCriterion("LossUuid not like", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidIn(List<String> values) {
            addCriterion("LossUuid in", values, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotIn(List<String> values) {
            addCriterion("LossUuid not in", values, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidBetween(String value1, String value2) {
            addCriterion("LossUuid between", value1, value2, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotBetween(String value1, String value2) {
            addCriterion("LossUuid not between", value1, value2, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossTypeIsNull() {
            addCriterion("LossType is null");
            return (Criteria) this;
        }

        public Criteria andLossTypeIsNotNull() {
            addCriterion("LossType is not null");
            return (Criteria) this;
        }

        public Criteria andLossTypeEqualTo(String value) {
            addCriterion("LossType =", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotEqualTo(String value) {
            addCriterion("LossType <>", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeGreaterThan(String value) {
            addCriterion("LossType >", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeGreaterThanOrEqualTo(String value) {
            addCriterion("LossType >=", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLessThan(String value) {
            addCriterion("LossType <", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLessThanOrEqualTo(String value) {
            addCriterion("LossType <=", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLike(String value) {
            addCriterion("LossType like", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotLike(String value) {
            addCriterion("LossType not like", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeIn(List<String> values) {
            addCriterion("LossType in", values, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotIn(List<String> values) {
            addCriterion("LossType not in", values, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeBetween(String value1, String value2) {
            addCriterion("LossType between", value1, value2, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotBetween(String value1, String value2) {
            addCriterion("LossType not between", value1, value2, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossIdIsNull() {
            addCriterion("LossId is null");
            return (Criteria) this;
        }

        public Criteria andLossIdIsNotNull() {
            addCriterion("LossId is not null");
            return (Criteria) this;
        }

        public Criteria andLossIdEqualTo(String value) {
            addCriterion("LossId =", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotEqualTo(String value) {
            addCriterion("LossId <>", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdGreaterThan(String value) {
            addCriterion("LossId >", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdGreaterThanOrEqualTo(String value) {
            addCriterion("LossId >=", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLessThan(String value) {
            addCriterion("LossId <", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLessThanOrEqualTo(String value) {
            addCriterion("LossId <=", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLike(String value) {
            addCriterion("LossId like", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotLike(String value) {
            addCriterion("LossId not like", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdIn(List<String> values) {
            addCriterion("LossId in", values, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotIn(List<String> values) {
            addCriterion("LossId not in", values, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdBetween(String value1, String value2) {
            addCriterion("LossId between", value1, value2, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotBetween(String value1, String value2) {
            addCriterion("LossId not between", value1, value2, "lossId");
            return (Criteria) this;
        }

        public Criteria andReassignTypeIsNull() {
            addCriterion("ReassignType is null");
            return (Criteria) this;
        }

        public Criteria andReassignTypeIsNotNull() {
            addCriterion("ReassignType is not null");
            return (Criteria) this;
        }

        public Criteria andReassignTypeEqualTo(Integer value) {
            addCriterion("ReassignType =", value, "reassignType");
            return (Criteria) this;
        }

        public Criteria andReassignTypeNotEqualTo(Integer value) {
            addCriterion("ReassignType <>", value, "reassignType");
            return (Criteria) this;
        }

        public Criteria andReassignTypeGreaterThan(Integer value) {
            addCriterion("ReassignType >", value, "reassignType");
            return (Criteria) this;
        }

        public Criteria andReassignTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ReassignType >=", value, "reassignType");
            return (Criteria) this;
        }

        public Criteria andReassignTypeLessThan(Integer value) {
            addCriterion("ReassignType <", value, "reassignType");
            return (Criteria) this;
        }

        public Criteria andReassignTypeLessThanOrEqualTo(Integer value) {
            addCriterion("ReassignType <=", value, "reassignType");
            return (Criteria) this;
        }

        public Criteria andReassignTypeIn(List<Integer> values) {
            addCriterion("ReassignType in", values, "reassignType");
            return (Criteria) this;
        }

        public Criteria andReassignTypeNotIn(List<Integer> values) {
            addCriterion("ReassignType not in", values, "reassignType");
            return (Criteria) this;
        }

        public Criteria andReassignTypeBetween(Integer value1, Integer value2) {
            addCriterion("ReassignType between", value1, value2, "reassignType");
            return (Criteria) this;
        }

        public Criteria andReassignTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("ReassignType not between", value1, value2, "reassignType");
            return (Criteria) this;
        }

        public Criteria andReassignPlatIsNull() {
            addCriterion("ReassignPlat is null");
            return (Criteria) this;
        }

        public Criteria andReassignPlatIsNotNull() {
            addCriterion("ReassignPlat is not null");
            return (Criteria) this;
        }

        public Criteria andReassignPlatEqualTo(Integer value) {
            addCriterion("ReassignPlat =", value, "reassignPlat");
            return (Criteria) this;
        }

        public Criteria andReassignPlatNotEqualTo(Integer value) {
            addCriterion("ReassignPlat <>", value, "reassignPlat");
            return (Criteria) this;
        }

        public Criteria andReassignPlatGreaterThan(Integer value) {
            addCriterion("ReassignPlat >", value, "reassignPlat");
            return (Criteria) this;
        }

        public Criteria andReassignPlatGreaterThanOrEqualTo(Integer value) {
            addCriterion("ReassignPlat >=", value, "reassignPlat");
            return (Criteria) this;
        }

        public Criteria andReassignPlatLessThan(Integer value) {
            addCriterion("ReassignPlat <", value, "reassignPlat");
            return (Criteria) this;
        }

        public Criteria andReassignPlatLessThanOrEqualTo(Integer value) {
            addCriterion("ReassignPlat <=", value, "reassignPlat");
            return (Criteria) this;
        }

        public Criteria andReassignPlatIn(List<Integer> values) {
            addCriterion("ReassignPlat in", values, "reassignPlat");
            return (Criteria) this;
        }

        public Criteria andReassignPlatNotIn(List<Integer> values) {
            addCriterion("ReassignPlat not in", values, "reassignPlat");
            return (Criteria) this;
        }

        public Criteria andReassignPlatBetween(Integer value1, Integer value2) {
            addCriterion("ReassignPlat between", value1, value2, "reassignPlat");
            return (Criteria) this;
        }

        public Criteria andReassignPlatNotBetween(Integer value1, Integer value2) {
            addCriterion("ReassignPlat not between", value1, value2, "reassignPlat");
            return (Criteria) this;
        }

        public Criteria andUserCodeIsNull() {
            addCriterion("UserCode is null");
            return (Criteria) this;
        }

        public Criteria andUserCodeIsNotNull() {
            addCriterion("UserCode is not null");
            return (Criteria) this;
        }

        public Criteria andUserCodeEqualTo(String value) {
            addCriterion("UserCode =", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotEqualTo(String value) {
            addCriterion("UserCode <>", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeGreaterThan(String value) {
            addCriterion("UserCode >", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeGreaterThanOrEqualTo(String value) {
            addCriterion("UserCode >=", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeLessThan(String value) {
            addCriterion("UserCode <", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeLessThanOrEqualTo(String value) {
            addCriterion("UserCode <=", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeLike(String value) {
            addCriterion("UserCode like", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotLike(String value) {
            addCriterion("UserCode not like", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeIn(List<String> values) {
            addCriterion("UserCode in", values, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotIn(List<String> values) {
            addCriterion("UserCode not in", values, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeBetween(String value1, String value2) {
            addCriterion("UserCode between", value1, value2, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotBetween(String value1, String value2) {
            addCriterion("UserCode not between", value1, value2, "userCode");
            return (Criteria) this;
        }

        public Criteria andReassignMarkIsNull() {
            addCriterion("ReassignMark is null");
            return (Criteria) this;
        }

        public Criteria andReassignMarkIsNotNull() {
            addCriterion("ReassignMark is not null");
            return (Criteria) this;
        }

        public Criteria andReassignMarkEqualTo(String value) {
            addCriterion("ReassignMark =", value, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkNotEqualTo(String value) {
            addCriterion("ReassignMark <>", value, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkGreaterThan(String value) {
            addCriterion("ReassignMark >", value, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkGreaterThanOrEqualTo(String value) {
            addCriterion("ReassignMark >=", value, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkLessThan(String value) {
            addCriterion("ReassignMark <", value, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkLessThanOrEqualTo(String value) {
            addCriterion("ReassignMark <=", value, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkLike(String value) {
            addCriterion("ReassignMark like", value, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkNotLike(String value) {
            addCriterion("ReassignMark not like", value, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkIn(List<String> values) {
            addCriterion("ReassignMark in", values, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkNotIn(List<String> values) {
            addCriterion("ReassignMark not in", values, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkBetween(String value1, String value2) {
            addCriterion("ReassignMark between", value1, value2, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andReassignMarkNotBetween(String value1, String value2) {
            addCriterion("ReassignMark not between", value1, value2, "reassignMark");
            return (Criteria) this;
        }

        public Criteria andOperateTimeIsNull() {
            addCriterion("OperateTime is null");
            return (Criteria) this;
        }

        public Criteria andOperateTimeIsNotNull() {
            addCriterion("OperateTime is not null");
            return (Criteria) this;
        }

        public Criteria andOperateTimeEqualTo(Date value) {
            addCriterion("OperateTime =", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeNotEqualTo(Date value) {
            addCriterion("OperateTime <>", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeGreaterThan(Date value) {
            addCriterion("OperateTime >", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("OperateTime >=", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeLessThan(Date value) {
            addCriterion("OperateTime <", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeLessThanOrEqualTo(Date value) {
            addCriterion("OperateTime <=", value, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeIn(List<Date> values) {
            addCriterion("OperateTime in", values, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeNotIn(List<Date> values) {
            addCriterion("OperateTime not in", values, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeBetween(Date value1, Date value2) {
            addCriterion("OperateTime between", value1, value2, "operateTime");
            return (Criteria) this;
        }

        public Criteria andOperateTimeNotBetween(Date value1, Date value2) {
            addCriterion("OperateTime not between", value1, value2, "operateTime");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("Flag is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("Flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(String value) {
            addCriterion("Flag =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(String value) {
            addCriterion("Flag <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(String value) {
            addCriterion("Flag >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(String value) {
            addCriterion("Flag >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(String value) {
            addCriterion("Flag <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(String value) {
            addCriterion("Flag <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLike(String value) {
            addCriterion("Flag like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotLike(String value) {
            addCriterion("Flag not like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<String> values) {
            addCriterion("Flag in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<String> values) {
            addCriterion("Flag not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(String value1, String value2) {
            addCriterion("Flag between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(String value1, String value2) {
            addCriterion("Flag not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andN1IsNull() {
            addCriterion("N1 is null");
            return (Criteria) this;
        }

        public Criteria andN1IsNotNull() {
            addCriterion("N1 is not null");
            return (Criteria) this;
        }

        public Criteria andN1EqualTo(String value) {
            addCriterion("N1 =", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotEqualTo(String value) {
            addCriterion("N1 <>", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThan(String value) {
            addCriterion("N1 >", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThanOrEqualTo(String value) {
            addCriterion("N1 >=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThan(String value) {
            addCriterion("N1 <", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThanOrEqualTo(String value) {
            addCriterion("N1 <=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Like(String value) {
            addCriterion("N1 like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotLike(String value) {
            addCriterion("N1 not like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1In(List<String> values) {
            addCriterion("N1 in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotIn(List<String> values) {
            addCriterion("N1 not in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Between(String value1, String value2) {
            addCriterion("N1 between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotBetween(String value1, String value2) {
            addCriterion("N1 not between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN2IsNull() {
            addCriterion("N2 is null");
            return (Criteria) this;
        }

        public Criteria andN2IsNotNull() {
            addCriterion("N2 is not null");
            return (Criteria) this;
        }

        public Criteria andN2EqualTo(String value) {
            addCriterion("N2 =", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotEqualTo(String value) {
            addCriterion("N2 <>", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThan(String value) {
            addCriterion("N2 >", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThanOrEqualTo(String value) {
            addCriterion("N2 >=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThan(String value) {
            addCriterion("N2 <", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThanOrEqualTo(String value) {
            addCriterion("N2 <=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Like(String value) {
            addCriterion("N2 like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotLike(String value) {
            addCriterion("N2 not like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2In(List<String> values) {
            addCriterion("N2 in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotIn(List<String> values) {
            addCriterion("N2 not in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Between(String value1, String value2) {
            addCriterion("N2 between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotBetween(String value1, String value2) {
            addCriterion("N2 not between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN3IsNull() {
            addCriterion("N3 is null");
            return (Criteria) this;
        }

        public Criteria andN3IsNotNull() {
            addCriterion("N3 is not null");
            return (Criteria) this;
        }

        public Criteria andN3EqualTo(String value) {
            addCriterion("N3 =", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotEqualTo(String value) {
            addCriterion("N3 <>", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThan(String value) {
            addCriterion("N3 >", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThanOrEqualTo(String value) {
            addCriterion("N3 >=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThan(String value) {
            addCriterion("N3 <", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThanOrEqualTo(String value) {
            addCriterion("N3 <=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Like(String value) {
            addCriterion("N3 like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotLike(String value) {
            addCriterion("N3 not like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3In(List<String> values) {
            addCriterion("N3 in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotIn(List<String> values) {
            addCriterion("N3 not in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Between(String value1, String value2) {
            addCriterion("N3 between", value1, value2, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotBetween(String value1, String value2) {
            addCriterion("N3 not between", value1, value2, "n3");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table prpm_loss_reassign
     *
     * @mbggenerated do_not_delete_during_merge Tue Jun 07 10:21:44 CST 2016
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * 案件改派轨迹表
     * 数据库表：prpm_loss_reassign
     * 
     * @author fucy
     * @since 2016-06-05
     */
    public static class Criterion {
        private String  condition;
        private Object  value;
        private Object  secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String  typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}